package com.hsjk.szwj.module.train.controller.admin.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author chenjiawei
 * @desc
 * @Date 2023/12/04 22:52
 **/
@Data
public class AdminSetSkuDivisionReqVO {
    /**
     * sku id
     */
    @NotNull(message = "sku id不能为空")
    @Schema(description = "sku id", requiredMode = Schema.RequiredMode.REQUIRED, example = "123123")
    private Long skuId;
    /**
     * 分账账号id
     */
    @NotNull(message = "分账账号id不能为空")
    @Schema(description = "分账账号id", requiredMode = Schema.RequiredMode.REQUIRED, example = "123123")
    private Long mchDivisionReceiverId;
    /**
     * 分账模型，1：金额，2：百分比
     */
    @NotNull(message = "分账模型不能为空")
    @Schema(description = "分账模型，1：金额，2：百分比", requiredMode = Schema.RequiredMode.REQUIRED, example = "123123")
    private Integer divisionModel;
    /**
     * 分账比例
     */
    @Schema(description = "分账比例", example = "0.3")
    private Double divisionProfit;
    /**
     * 分账金额，单位：分
     */
    @Schema(description = "分账金额，单位：分", example = "1000")
    private Integer divisionAmount;
}
